<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
        <form action="CauHoiServlet" method="POST">
            <c:set var="info" value="${INFOR}"/>
            <c:if test="${not empty info}">
                <table border="0">
                    <thead>
                        <tr>
                            <th></th>
                            <th></th>
                            <th></th>
                        </tr>
                    </thead>

                    <tbody>
                        <c:forEach var="item" items="${INFOR}" varStatus="counter">
                            <tr>
                                <td>Customer Code:</td>
                                <td><input type="text" name="txtCode" value="${item.customerCode}" readonly="true" disabled="true"></td>
                            </tr>
                            <tr>
                                <td>Cau hoi:</td>
                                <td><input type="text" name="txtCauHoi" value="${item.cauHoi} "  style="width: 555px"></td>
                            </tr>
                            <tr>
                                <td>Tra Loi:</td>
                                <td><textarea name="txtTraLoi" rows="24" cols="80"  >
                                        ${item.noiDungTraLoi}
                                    </textarea></td>
                            </tr>
                            <tr>
                            <td>
                                <input type="hidden" name="txtId" value="${item.maCH}">
                                <input type="submit" value="Save" name="btAction" /></td>
                            </tr>
                        </c:forEach>
                    </tbody>
                </table>
            </c:if>

        </form>
    </body>
</html>
